﻿namespace Acme.Marketing.DataAccess
{
    using System.Data.Entity;
    using Data;

    [DbConfigurationType("Acme.Marketing.DataAccess.Migrations.MyConfiguration, Acme.Marketing.DataAccess")]
    public class MarketingContext : DbContext
    {
        /// <summary>
        ///     Gets or sets the newspapers.
        /// </summary>
        /// <value>
        ///     The newspapers.
        /// </value>
        public DbSet<Newspaper> Newspapers { get; set; }

        /// <summary>
        ///     Gets or sets the advertisements.
        /// </summary>
        /// <value>
        ///     The advertisements.
        /// </value>
        public DbSet<Advertisement> Advertisements { get; set; }
    }
}